import request from "../request";

// 获得仓库列表
export const getDepotList = (params) => {
    return request({
        url: '/depot/wcc/depotList',
        method: "get",
        params: params,
        methodType: "jsonStr",
    });
};

// 单仓库模式下查询 省/市 统计信息
export const getDepotStatistics = (params) => {
    return request({
        url: '/depot/wcc/statistics',
        method: "get",
        params: params,
        methodType: "jsonStr",
    });
};

// 地图模式下查询 省/市 统计信息
export const getDepotRegionalStatistics = (params) => {
    return request({
        url: '/depot/wcc/regionalStatistics',
        method: "get",
        params: params,
        methodType: "jsonStr",
    });
};

// 获得告警信息
export const getAlarmInfo = (params) => {
    return request({
        // depot/wcc/getAlarm
        url: '/depot/wcc/getAlarm',
        method: "get",
        params: params,
        methodType: "jsonStr",
    });
};